package com.cirnoworks.uhs.server;

import com.cirnoworks.guice.InjectorCreator;
import com.cirnoworks.guice.LifeCycleModule;
import com.google.inject.Guice;
import com.google.inject.Injector;

public class ServerLauncher extends InjectorCreator {

	@Override
	protected Injector createInjector() {
		Injector injector = Guice.createInjector(new LifeCycleModule(),
				new ServerModule());
		return injector;
	}

	public static void main(String[] args) {
		new ServerLauncher().launchWithShutdownHook();
	}

}
